Enable actionSave even file was not saved before.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-01-25 11:04:42 +02:00
parent 4bb612e20e
commit 1f624ec69b

View File

@ -2524,7 +2524,7 @@ void MainWindow::SetEnableWidgets(bool enable)
{
comboBoxDraws->setEnabled(enable);
ui->actionOptionDraw->setEnabled(enable);
if (enable && not curFile.isEmpty() && not patternReadOnly)
if (enable && not patternReadOnly)
{
ui->actionSave->setEnabled(enable);
}