PIPeer important fix!

git-svn-id: svn://db.shs.com.ru/pip@117 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2015-04-20 12:27:01 +00:00
parent 7673703b4b
commit b2c898b5fe

View File

@@ -285,8 +285,8 @@ void Daemon::fillInfoTile(const Daemon::HostInfo & hi) {
void Daemon::tileEvent(PIScreenTile * t, TileEvent e) {
PIMutexLocker ml(remote_mutex);
if (t == list_daemons) {
PIMutexLocker ml(remote_mutex);
if (e.type == TileList::RowPressed) {
connectToDaemon(list_daemons->content[e.data.toInt()].first);
showActionList();
@@ -294,6 +294,7 @@ void Daemon::tileEvent(PIScreenTile * t, TileEvent e) {
return;
}
if (t == list_actions) {
PIMutexLocker ml(remote_mutex);
if (e.type == TileList::RowPressed) {
switch (e.data.toInt()) {
case 0: mode = 2; showTile(tile_info, "Information"); break;