summaryrefslogtreecommitdiff
path: root/src/trg-main-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r--src/trg-main-window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index 39553fd..2975614 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -262,8 +262,7 @@ static void update_selected_torrent_notebook(TrgMainWindow * win,
JsonObject *t;
GtkTreeIter iter;
- if (id >= 0
- && get_torrent_data(client->torrentTable, id, &t, &iter)) {
+ if (id >= 0 && get_torrent_data(client->torrentTable, id, &t, &iter)) {
trg_toolbar_torrent_actions_sensitive(priv->toolBar, TRUE);
trg_menu_bar_torrent_actions_sensitive(priv->menuBar, TRUE);
trg_general_panel_update(priv->genDetails, t, &iter);