fix: disable auto fit after clicking actual size button
This commit is contained in:
parent
64fa580131
commit
fcd5e2cb84
|
@ -535,6 +535,7 @@ QSize MainWindow::sizeHint() const
|
||||||
void MainWindow::on_actionActualSize_triggered()
|
void MainWindow::on_actionActualSize_triggered()
|
||||||
{
|
{
|
||||||
m_graphicsView->resetScale();
|
m_graphicsView->resetScale();
|
||||||
|
m_graphicsView->setEnableAutoFitInView(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionToggleMaximize_triggered()
|
void MainWindow::on_actionToggleMaximize_triggered()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user