mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Switch to modeless dialog
Don't close dialog after creating torrent Show progress bar all the time
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user