feat: 修改关闭按钮的行为
This commit is contained in:
@@ -48,6 +48,9 @@ void MainWindow::initWindow() {
|
|||||||
_tablePage = new CBTable(this);
|
_tablePage = new CBTable(this);
|
||||||
|
|
||||||
addPageNode("剪贴板历史", _tablePage, ElaIconType::TableTree);
|
addPageNode("剪贴板历史", _tablePage, ElaIconType::TableTree);
|
||||||
|
|
||||||
|
this->setIsDefaultClosed(false);
|
||||||
|
connect(this, &MainWindow::closeButtonClicked, this, [=]() { setVisible(false); });
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::createActions() {
|
void MainWindow::createActions() {
|
||||||
|
|||||||
Reference in New Issue
Block a user