fix:1.当编辑除了key以外的属性,无法编辑,会提示有相同key。
2.点击x退出时触发的是yes按钮功能。 3.属性编辑了key之后,界面没有同步更新。
This commit is contained in:
@@ -57,6 +57,8 @@ void CAttributeEdit::show_before()
|
||||
{
|
||||
init_table();
|
||||
|
||||
is_ok_ = false;
|
||||
|
||||
for(auto i = 0; i < property_.size(); ++i) {
|
||||
int row = table_->rowCount();
|
||||
table_->insertRow(row);
|
||||
|
||||
@@ -30,7 +30,7 @@ private:
|
||||
void handle_ok();
|
||||
|
||||
public:
|
||||
bool is_ok_{};
|
||||
bool is_ok_{ false };
|
||||
|
||||
private:
|
||||
Ui::CAttributeEdit* ui;
|
||||
|
||||
Reference in New Issue
Block a user