* repaired send image button function
pull/4/head
David Freese 2016-06-13 09:11:50 -05:00
rodzic 8cd6f830aa
commit 5f762f058b
2 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -251,7 +251,6 @@ public:
void send_image();
void send_avatar();
void thor_send_avatar();
void thor_send_image();
void thor_send_image(std::string s = "");
};

Wyświetl plik

@ -1358,8 +1358,10 @@ void thor::send_image() {
}
void thor::thor_send_image(std::string image_str) {
if (!image_str.empty()) hide_after_sending = true;
imageheader = image_str;
if (!image_str.empty()) {
hide_after_sending = true;
imageheader = image_str;
}
if (txstate == TX_STATE_RECEIVE)
start_tx();
}