Fix Autofill command crash
This commit is contained in:
parent
7a440ac58e
commit
6146412adc
1 changed files with 1 additions and 1 deletions
|
@ -1088,7 +1088,7 @@ void MainWindow::onOpenReportABug() {
|
||||||
|
|
||||||
void MainWindow::autofillToggle() {
|
void MainWindow::autofillToggle() {
|
||||||
TPaletteHandle *h = TApp::instance()->getCurrentPalette();
|
TPaletteHandle *h = TApp::instance()->getCurrentPalette();
|
||||||
h->toggleAutopaint();
|
if (h->getPalette()) h->toggleAutopaint();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::resetRoomsLayout() {
|
void MainWindow::resetRoomsLayout() {
|
||||||
|
|
Loading…
Reference in a new issue