[fractal] rooms: cache rooms only when the roomlist is cleared
- From: Alexandre Franke <afranke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] rooms: cache rooms only when the roomlist is cleared
- Date: Sat, 5 Jan 2019 17:57:42 +0000 (UTC)
commit 4205a6a980118e29bf060bac985127e87a72150f
Author: Julian Sparber <julian sparber net>
Date: Sat Jan 5 14:45:23 2019 +0100
rooms: cache rooms only when the roomlist is cleared
fractal-gtk/src/appop/room.rs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/fractal-gtk/src/appop/room.rs b/fractal-gtk/src/appop/room.rs
index 97230db7..7399db13 100644
--- a/fractal-gtk/src/appop/room.rs
+++ b/fractal-gtk/src/appop/room.rs
@@ -95,9 +95,8 @@ impl AppOp {
if let Some(ref active_room) = self.active_room {
self.roomlist.select(active_room);
}
+ self.cache_rooms();
}
-
- self.cache_rooms();
}
pub fn reload_rooms(&mut self) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]