Enable actionSave even file was not saved before.
--HG-- branch : feature
This commit is contained in:
parent
4bb612e20e
commit
1f624ec69b
|
@ -2524,7 +2524,7 @@ void MainWindow::SetEnableWidgets(bool enable)
|
||||||
{
|
{
|
||||||
comboBoxDraws->setEnabled(enable);
|
comboBoxDraws->setEnabled(enable);
|
||||||
ui->actionOptionDraw->setEnabled(enable);
|
ui->actionOptionDraw->setEnabled(enable);
|
||||||
if (enable && not curFile.isEmpty() && not patternReadOnly)
|
if (enable && not patternReadOnly)
|
||||||
{
|
{
|
||||||
ui->actionSave->setEnabled(enable);
|
ui->actionSave->setEnabled(enable);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user