davidedmundson accepted this revision.
davidedmundson added inline comments.
This revision is now accepted and ready to land.
INLINE COMMENTS
> translationsmodel.cpp:216
>
> - if (index < 1) {
> + if (m_selectedLanguages.count() < 2) {
> return;
Changing from index < 1 to checking count makes sense, but I would still check
if (index < 0) {return;}
in addition to the count to catch out-of-sync erorrs. I think then you wouldn't
need to complicate the QML side.
REPOSITORY
R119 Plasma Desktop
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D17218
To: hein, #plasma, davidedmundson, broulik
Cc: plasma-devel, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed,
jensreuterberg, abetts, sebas, apol, mart