fix: disable auto fit after clicking actual size button

This commit is contained in:
Gary Wang 2021-08-04 19:30:12 +08:00
parent 64fa580131
commit fcd5e2cb84

View File

@ -535,6 +535,7 @@ QSize MainWindow::sizeHint() const
void MainWindow::on_actionActualSize_triggered()
{
m_graphicsView->resetScale();
m_graphicsView->setEnableAutoFitInView(false);
}
void MainWindow::on_actionToggleMaximize_triggered()