解决保存图像后,缩略图“*”符号没刷新的问题
This commit is contained in:
parent
11175fa485
commit
66d28656cd
|
@ -10,6 +10,8 @@ Dialog_Input::Dialog_Input(QWidget *parent) :
|
|||
ui->setupUi(this);
|
||||
setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint);
|
||||
setWindowTitle(tr("configuration scheme name change"));
|
||||
|
||||
ui->lineEdit->setMaxLength(20);
|
||||
}
|
||||
|
||||
Dialog_Input::~Dialog_Input()
|
||||
|
|
|
@ -2309,7 +2309,7 @@ void MainWindow::on_act_save_triggered()
|
|||
m_thumb->refreshItem(m_currIndex);
|
||||
}
|
||||
else
|
||||
m_thumb->updateItem(m_currIndex, savePath, false);
|
||||
m_thumb->updateItem(m_currIndex, savePath, true);
|
||||
|
||||
m_currFilePath = savePath;
|
||||
m_modify = false;
|
||||
|
|
|
@ -10,7 +10,7 @@ Dialog_Input::Dialog_Input(QWidget *parent) :
|
|||
ui->setupUi(this);
|
||||
setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint);
|
||||
|
||||
ui->lineEdit->setMaxLength(50);
|
||||
ui->lineEdit->setMaxLength(20);
|
||||
}
|
||||
|
||||
Dialog_Input::~Dialog_Input()
|
||||
|
|
Loading…
Reference in New Issue