Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-141536

When I open another QDialog in QDialog, the program crashes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.10.0
    • None
    • WebAssembly

       

      This is my first show dialog
      void ProjectModel::wellManager()

      {     DialogWellManager dlg(this, DialogWellManager::editor);     dlg.exec(); }

      in DialogWellManager, I called another Qdialog,the program crashed.
      void DialogWellManager::on_tbAddWell_clicked()
      {
          DialogAddWell dlg(_model,nullptr);
          if (dlg.exec() == QDialog::Accepted)

      {         updateToWell();         refreshTable();     }

      }

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.webassembly qt.webassembly
            wangzizhang wang zizhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes