Merge pull request #35148 from asynts/asynts.dont-close-connections-dialog
Don't close the connection dialog when the validation failed.
This commit is contained in:
commit
3da2160233
1 changed files with 3 additions and 0 deletions
|
@ -127,6 +127,7 @@ void ConnectDialog::ok_pressed() {
|
|||
}
|
||||
}
|
||||
emit_signal("connected");
|
||||
hide();
|
||||
}
|
||||
|
||||
void ConnectDialog::_cancel_pressed() {
|
||||
|
@ -280,6 +281,8 @@ bool ConnectDialog::is_editing() const {
|
|||
*/
|
||||
void ConnectDialog::init(Connection c, bool bEdit) {
|
||||
|
||||
set_hide_on_ok(false);
|
||||
|
||||
source = static_cast<Node *>(c.source);
|
||||
signal = c.signal;
|
||||
|
||||
|
|
Loading…
Reference in a new issue