mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Switch to modeless dialog
Don't close dialog after creating torrent Show progress bar all the time
This commit is contained in:
parent
d277696acc
commit
7de1aba092
4 changed files with 30 additions and 27 deletions
|
@ -1075,8 +1075,10 @@ void MainWindow::on_actionCreateTorrent_triggered()
|
|||
|
||||
void MainWindow::createTorrentTriggered(const QString &path)
|
||||
{
|
||||
if (m_createTorrentDlg)
|
||||
if (m_createTorrentDlg) {
|
||||
m_createTorrentDlg->updateInputPath(path);
|
||||
m_createTorrentDlg->setFocus();
|
||||
}
|
||||
else
|
||||
m_createTorrentDlg = new TorrentCreatorDlg(this, path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue